#!/bin/bash
set -e

src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-519-v2.3.0 -y 3 -m 2000000 -e 255312007 -lt
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257066033-v2.3.0 -y 3 -m 2000000 -e 257066038 -lt
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257066844-v2.3.0 -y 3 -m 2000000 -e 257066849
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257067457-v2.3.0 -y 3 -m 2000000 -e 257067461
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257068890-v2.3.0 -y 3 -m 2000000 -e 257068895
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257181622-v2.3.0 -y 3 -m 2000000 -e 257181624
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-254462437-v2.3.0 -y 16 -m 10000000 -e 254462598
src/flamenco/runtime/tests/run_ledger_backtest.sh -l local-cluster-v2.3.0 -y 1 -m 2000000 -e 5010
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-262654839-v2.3.0 -y 3 -m 10000000 -e 262654840
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257037451-v2.3.0 -y 3 -m 2000000 -e 257037454
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257035225-v2.3.0 -y 4 -m 2000000 -e 257035233
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257465453-v2.3.0 -y 4 -m 10000000 -e 257465454
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257058865-v2.3.0 -y 3 -m 2000000 -e 257058870
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257059815-v2.3.0 -y 3 -m 2000000 -e 257059818
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257061172-v2.3.0 -y 3 -m 2000000 -e 257061175
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257222682-v2.3.0 -y 3 -m 2000000 -e 257222688
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-264890264-v2.3.0 -y 3 -m 2000000 -e 264890265
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257229353-v2.3.0 -y 4 -m 2000000 -e 257229357
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257257983-v2.3.0 -y 3 -m 2000000 -e 257257986
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267728520-v2.3.0 -y 3 -m 2000000 -e 267728522
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267651942-v2.3.0 -y 3 -m 2000000 -e 267651943
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267081197-v2.3.0 -y 3 -m 2000000 -e 267081198
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267085604-v2.3.0 -y 3 -m 2000000 -e 267085605
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-265688706-v2.3.0 -y 3 -m 2000000 -e 265688707
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-265330432-v2.3.0 -y 3 -m 2000000 -e 265330433
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268575190-v2.3.0 -y 3 -m 2000000 -e 268575191
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268129380-v2.3.0 -y 3 -m 2000000 -e 268129380
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268163043-v2.3.0 -y 3 -m 2000000 -e 268163043
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269511381-v2.3.0 -y 3 -m 2000000 -e 269511381
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269567236-v2.3.0 -y 3 -m 2000000 -e 269567236
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-266134813-v2.3.0 -y 3 -m 2000000 -e 266134814
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-266545736-v2.3.0 -y 3 -m 2000000 -e 266545737
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267059180-v2.3.0 -y 3 -m 2000000 -e 267059181
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267580466-v2.3.0 -y 3 -m 2000000 -e 267580467
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268196194-v2.3.0 -y 3 -m 2000000 -e 268196195
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267766641-v2.3.0 -y 3 -m 2000000 -e 267766642
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269648145-v2.3.0 -y 3 -m 2000000 -e 269648146
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-281688085-v2.3.0 -y 3 -m 2000000 -e 281688086
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277660422-v2.3.0 -y 3 -m 2000000 -e 277660423
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277876060-v2.3.0 -y 3 -m 2000000 -e 277876061
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277927063-v2.3.0 -y 3 -m 2000000 -e 277927065
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-281375356-v2.3.0 -y 3 -m 2000000 -e 281375359
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-251418170-v2.3.0 -y 5 -m 2000000 -e 251418233
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-282232100-v2.3.0 -y 3 -m 2000000 -e 282232101
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-282151715-v2.3.0 -y 3 -m 2000000 -e 282151717
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-286450148-v2.3.0 -y 3 -m 2000000 -e 286450151
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-200-v2.3.0 -y 1 -m 2000000 -e 984
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-300-v2.3.0 -y 1 -m 2000000 -e 984
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-500-v2.3.0 -y 1 -m 2000000 -e 984
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-297489336-v2.3.0 -y 3 -m 2000000 -e 297489363
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300377724-v2.3.0 -y 5 -m 2000000 -e 300377728
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300645644-v2.3.0 -y 5 -m 2000000 -e 300645644
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300648964-v2.3.0 -y 5 -m 2000000 -e 300648964
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-301359740-v2.3.0 -y 5 -m 2000000 -e 301359740
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257181032-v2.3.0 -y 3 -m 2000000 -e 257181035
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257047660-v2.3.0 -y 3 -m 2000000 -e 257047662
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257047659-v2.3.0 -y 3 -m 2000000 -e 257047660
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-308445707-v2.3.0 -y 5 -m 2000000 -e 308445711
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-307395181-v2.3.0 -y 3 -m 2000000 -e 307395190
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-308392063-v2.3.0 -y 5 -m 2000000 -e 308392090
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-350814254-v2.3.0 -y 3 -m 2000000 -e 350814284
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-311586340-v2.3.0 -y 3 -m 2000000 -e 311586380
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-281546597-v2.3.0 -y 3 -m 2000000 -e 281546597
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-324823213-v2.3.0 -y 4 -m 2000000 -e 324823214
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-325467935-v2.3.0 -y 4 -m 2000000 -e 325467936
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-283927487-v2.3.0 -y 3 -m 2000000 -e 283927497
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-321168308-v2.3.0 -y 3 -m 2000000 -e 321168308
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-327324660-v2.3.0 -y 4 -m 2000000 -e 327324660
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-370199634-v2.3.0 -y 3 -m 200000 -e 370199634
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-330219081-v2.3.0 -y 4 -m 2000000 -e 330219082
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-372721907-v2.3.0 -y 3 -m 2000000 -e 372721910
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-331691646-v2.3.0 -y 4 -m 2000000 -e 331691647
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-378683870-v2.3.0 -y 3 -m 2000000 -e 378683872
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-380592002-v2.3.0 -y 3 -m 2000000 -e 380592006
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-336218682-v2.3.0 -y 5 -m 2000000 -e 336218683
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-340269866-v2.3.0 -y 5 -m 2000000 -e 340269872
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-340272018-v2.3.0 -y 5 -m 2000000 -e 340272023
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-390056400-v2.3.0 -y 10 -m 2000000 -e 390056406
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-346556000 -y 3 -m 2000000 -e 346556337
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-346179946 -y 30 -m 90000000 -e 346179950
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-bpf-loader-v2.3.0 -y 1 -m 1000 -e 108
src/flamenco/runtime/tests/run_ledger_backtest.sh -l local-multi-boundary -y 1 -m 1000 -e 2325
src/flamenco/runtime/tests/run_ledger_backtest.sh -l genesis-v3.0 -y 1 -m 3000 -e 1280 -g
src/flamenco/runtime/tests/run_ledger_backtest.sh -l localnet-stake-v3.0.0 -y 1 -m 3000 -e 541
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-368528500-stricter-abi -y 5 -m 2000000 -e 368528527 -o sD3uVpaavUXQRvDXrMFCQ2CqLqnbz5mK8ttWNXbtD3r
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-368528500-direct-mapping -y 5 -m 2000000 -e 368528527 -o sD3uVpaavUXQRvDXrMFCQ2CqLqnbz5mK8ttWNXbtD3r,DFN8MyKpQqFW31qczcahgnnxcAHQc6P94wtTEX5EP1RA
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-362107883-direct-mapping-2 -y 1 -m 2000000 -e 362219427 -o sD3uVpaavUXQRvDXrMFCQ2CqLqnbz5mK8ttWNXbtD3r,DFN8MyKpQqFW31qczcahgnnxcAHQc6P94wtTEX5EP1RA
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-413869565 -y 40 -m 100000000 -e 413869600
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-376969880 -y 1 -m 2000000 -e 376969900
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-422969842 -y 1 -m 2000000 -e 422969848
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-376969880-r2 -y 1 -m 2000000 -e 376969900 -o 5xXZc66h4UdB6Yq7FzdBxBiRAFMMScMLwHxk2QZDaNZL
